#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */

	int value;
	char expr_str[32];
} WP;

WP* new_wp();

void free_wp(WP* wp);

void output();

void append(WP* wp);

bool check_wp();

WP* find_head_wp(int n);

#endif
